package com.bolt.report.engine.fill;

import com.bolt.report.definition.CellDefinition;
import com.bolt.report.definition.DataExpand;
import com.bolt.report.definition.SortOrder;
import com.bolt.report.engine.BRGroupField;

public class FillGroupField implements BRGroupField {

    private String key;

    private String name;

    private DataExpand dataExpand;

    private SortOrder sortOrder;

    private CellDefinition cellDefinition;


    public FillGroupField(String key, String name, DataExpand dataExpand, SortOrder sortOrder, CellDefinition cellDefinition) {
        this.key = key;
        this.name = name;
        this.dataExpand = dataExpand;
        this.sortOrder = sortOrder;
        this.cellDefinition = cellDefinition;
    }

    public SortOrder getSortOrder() {
        return sortOrder;
    }

    public void setSortOrder(SortOrder sortOrder) {
        this.sortOrder = sortOrder;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setDataExpand(DataExpand dataExpand) {
        this.dataExpand = dataExpand;
    }

    @Override
    public String getName() {
        return this.name;
    }

    @Override
    public DataExpand getDataExpand() {
        return this.dataExpand;
    }

    @Override
    public CellDefinition getDefinition() {
        return this.cellDefinition;
    }
}